package zengjin.model.en;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author 19324
 * @TableName new
 */
@TableName(value ="new")
@Data
public class New implements Serializable {
    /**
     * 消息主键ID
     */
    @TableId
    private Long newId;

    /**
     * 消息的创建者ID
     */
    private Long newCreatorId;

    /**
     * 消息的接收者ID
     */
    private Long newReceiverId;

    /**
     * 消息的创建者昵称
     */
    private String newCreatorName;

    /**
     * 消息的创建者头像
     */
    private String newCreatorAvatar;

    /**
     * 消息的接收者昵称
     */
    private String newReceiverName;

    /**
     * 消息的标题，比如什么的审核拒绝，什么的投递拒绝等等
     */
    private String newTitle;

    /**
     * 消息的内容
     */
    private String newText;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    //    逻辑删除
    @TableLogic
    private Integer isDeleted;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}